<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>CheckLogin FIT Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
</head>
  
<body>
<p class="style1"><b>CheckLogin Acceptance Test</b></p>
<p class="style1">User may login to system only if all the following conditions are fulfilled:</p>
<p class="style1">1. Username appears in the users list.</p>
<p class="style1">2. The password match to the password field for the requested username.</p>
<p class="style1">3. The user is not logged-in to the system.</p>
<p class="style1"><b>The scenarios being tested are:</b></p>
<p class="style1">Not existing username.</p>
<ul>
<li><p class="style1">Existing username, wrong password.</p></li>
<li><p class="style1">Existing username, correct password, user already logged-in.</p></li>
<li><p class="style1">Existing username, correct password, user is not logged-in.</p></li>
<li><p class="style1">Existing username, correct password, user is not logged-in.</p></li>
</ul>



<table width="765" border="1" cellspacing="0" cellpadding="5">
  <tr>
    <td colspan="3" class="style1">fit.ActionFixture</td>
  </tr>
  <tr>
    <td class="style1">start</td>
    <td class="style1">fixtures.LoginTest</td>
    <td class="style1">&nbsp;</td>
  </tr>
  <tr>
    <td class="style1">enter</td>
    <td class="style1">username</td>
    <td class="style1">hacker</td>
  </tr>
    <tr>
    <td class="style1">enter</td>
    <td class="style1">password</td>
    <td class="style1">qwerty</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">login</td>
    <td class="style1">false</td>
  </tr>
    <tr>
    <td class="style1">enter</td>
    <td class="style1">username</td>
    <td class="style1">Almog</td>
  </tr>
    <tr>
    <td class="style1">enter</td>
    <td class="style1">password</td>
    <td class="style1">22222</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">login</td>
    <td class="style1">false</td>
  </tr>
    <tr>
    <td class="style1">enter</td>
    <td class="style1">username</td>
    <td class="style1">Almog</td>
  </tr>
    <tr>
    <td class="style1">enter</td>
    <td class="style1">password</td>
    <td class="style1">12345</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">login</td>
    <td class="style1">false</td>
  </tr>
    <tr>
    <td class="style1">enter</td>
    <td class="style1">username</td>
    <td class="style1">Ofri</td>
  </tr>
    <tr>
    <td class="style1">enter</td>
    <td class="style1">password</td>
    <td class="style1">55555</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">login</td>
    <td class="style1">true</td>
  </tr>
</table>
</body>
</html>
